package com.hopes.bizz.risk.setting.vo;

import com.hopes.bizz.common.core.util.DateUtils;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/7/20 13:37
 * @Description:
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class RiskCalendarVO extends BaseLogicEntity {
    private static final long serialVersionUID = -2157418758694747227L;

    private Integer dayOfMonth;

    @Schema(description="标识")
    private Long id;

    @Schema(description="日期")
    private Date dateDate;

    @Schema(description="日期类型")
    private Integer dateType;

    @Schema(description="标签")
    private String dateLabel;

    @Schema(description="农历")
    private String chineseCalendar;

    @Schema(description="备注")
    private String remarks;

    @Schema(description="orgId")
    private Long orgId;

    public String getDateDateStr() {
        return DateUtils.limitDay(this.dateDate);
    }
}
